summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/impl[t]-foreign[foreign[t]_local]-for-foreign.rs
blob: 99f3ce4476043d4932e4fed4c36496459196d0bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass
// compile-flags:--crate-name=test
// aux-build:coherence_lib.rs

extern crate coherence_lib as lib;
use lib::*;
use std::rc::Rc;

struct Local;
impl<T> Remote2<Rc<T>, Local> for usize { }

fn main() {}